package net.maku.kyy.convert;

import net.maku.kyy.entity.KyyGameEntity;
import net.maku.kyy.vo.KyyGameVO;
import net.maku.kyy.vo.KyyGameExcelVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 快应用
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Mapper
public interface KyyGameConvert {
    KyyGameConvert INSTANCE = Mappers.getMapper(KyyGameConvert.class);

    KyyGameEntity convert(KyyGameVO vo);

    KyyGameVO convert(KyyGameEntity entity);

    List<KyyGameVO> convertList(List<KyyGameEntity> list);

    List<KyyGameEntity> convertList2(List<KyyGameVO> list);

    List<KyyGameExcelVO> convertExcelList(List<KyyGameEntity> list);

    List<KyyGameEntity> convertExcelList2(List<KyyGameExcelVO> list);
}